package com.yunxin.websitebox.service;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface PermissionService {

    public List<String> getUserPermissionsByUserId(Long userId);

    public JSONObject getPermissionTreeByRoleId(Long userId);

    public JSONObject updatePermissionTreeOfRole(Long roleId,JSONObject permissionTree);
}
